
<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>

<link rel="stylesheet" type="text/css" href="theme/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="theme/default/css/common.css">
<script src="theme/default/Js/Common.js"></script>
<script src="theme/default/Js/jquery-3.0.0.min.js"></script>
<script src="theme/default/js/artDialog.js?skin=blue"></script>
<script src="theme/layui/layer/layer.js"></script> 
<link rel='stylesheet' type="text/css" href='theme/desktop/css/font-awesome.min.css'>

</head>
<body>

<!----------------------------------------新增员工开始----------------------------------------> 
<!----------------------------------------新增员工开始---------------------------------------->
<div class="cssout">
  <form class="layui-form" name="newUser" id="newUser" action="?action=saveEdit&LaiLu=" method="post" onSubmit="return checkInput();">
    <div class="cssin">
      <ul>
        <li class="w100 bg"><dd class="isin"><B>基本信息</B></dd></li>
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin"><font color="#FF0000">*</font> 登录账号</dd></li>
        <li class="w38"><dd class="isin"> admin</dd></li>
        <li class="w12 bg tr"><dd class="isin"><font color="#FF0000">*</font> 真实姓名</dd></li>
        <li class="w38"><dd class="isin"> 超级管理员</dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin"><font color="#FF0000">*</font> 登录密码</dd></li>
        <li class="w38"><dd class="isin">
          <input name="password" type="password" class="bor int" id="password" size="30" maxlength="30" value="admin" readonly style="background:#F1F1F1;cursor:not-allowed;">
          <span class="bxgqlk">不修改请留空！</span> </dd></li>
        <li class="w12 bg tr"><dd class="isin"><font color="#FF0000">*</font> 重复密码</dd></li>
        <li class="w38"><dd class="isin">
          <input name="confirmPWS" type="password" class="bor int" id="confirmPWS" size="30" maxlength="30" value="admin" readonly style="background:#F1F1F1;cursor:not-allowed;"> <span class="bxgqlk">不修改请留空！</span>
        </dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin"><font color="#FF0000">*</font> 职位&权限</dd></li>
        <li class="w38"><dd class="isin">
          超级管理员
          <input name="level" type="hidden" class="bor int" id="level" value="99" size="10" readonly>
          </dd></li>
        <li class="w12 bg tr"><dd class="isin"><font color="#FF0000">*</font> 所在部门</dd></li>
        <li class="w38"><dd class="isin">
          总经办
          <input name="group" type="hidden" class="bor int" id="group" value="1" size="10" readonly>
          </dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin"><font color="#FF0000">*</font> 手机号码</dd></li>
        <li class="w38"><dd class="isin">
          <input name="Mobile" type="text" class="bor int" id="Mobile" size="30" maxlength="30" value="13888888888"></dd></li>
        <li class="w12 bg tr"><dd class="isin"> E-mail</dd></li>
        <li class="w38"><dd class="isin">
          <input name="Email" type="text" class="bor int" id="Email" size="30" value="admin@xxxxxx.com"></dd></li>
        <!--end--> 
        <li class="w12 bg duohang tr"><dd class="isin" style="line-height:85px;">头像</dd></li>
        <li class="w38 duohang"><dd class="isin" style="padding-top:22px;">
          <input name="avatar" id="avatar" type="hidden" class="btns" value="/theme/default/images/avatar.jpg" size="30">
<span id="name1"> </span>
<script>
//定义一个上传
var upName1 = $("#name1").powerWebUpload(
{ 
	auto: true,//上传后是否自动上传
	fileNumLimit:1,//允许上传个数
	accept: {
	   title: '上传文件',
	   extensions: 'gif,jpg,png,bmp,doc,docx,xls,xlsx,ppt,pdf,rar,zip,txt',//允许类型 原始：'gif,jpg,jpeg,bmp,png'
	   mimeTypes: '*'//类型 原始：'image/*'
	}//限制的配置信息
});
//绑定上传完成事件 file 参数中有 原始名称 大小 后缀 类型等等参数；percentage是服务返回的参数 有信息 和图片地址
    upName1.on('uploadSuccess', function (file, percentage) {
	$("#avatar").val(percentage.data.src);
	$("#logoimg").attr('src',percentage.data.src); 
	
});
</script>
        </dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg duohang tr"><dd class="isin" style="line-height:85px;">头像预览</dd></li>
        <li class="w38 duohang"><dd class="isin" style="line-height:85px;"> <img src="theme/default/images/avatar.jpg" height="70" class="utouxiang" id="logoimg" /></dd></li>
        <!--end--> 
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin">性别</dd></li>
        <li class="w38"><dd class="isin">
          <input name="usex" class="btns" type="radio" value="1"checked title="男">
          <input name="usex" class="btns" type="radio" value="0" title="女"></dd></li>
        <li class="w12 bg tr"><dd class="isin">身份证号</dd></li>
        <li class="w38"><dd class="isin">
          <input name="usfzh" type="text" class="bor int" id="usfzh" size="45" value=""></dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin">生日</dd></li>
        <li class="w38"><dd class="isin">
          <input name="Birthday" type="text" id="Birthday" class="int Wdate" size="20" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd'})" value="1985/1/1"></dd></li>
        <li class="w12 bg tr"><dd class="isin">入司时间</dd></li>
        <li class="w38"><dd class="isin"> 2010/1/1</dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin">家乡</dd></li>
        <li class="w38"><dd class="isin">
          <input name="ujiaxiang" type="text" class="bor int" id="ujiaxiang" size="30" value="湖北武汉" />
        </dd></li>
        <li class="w12 bg tr"><dd class="isin">家庭住址</dd></li>
        <li class="w38"><dd class="isin">
          <input name="ujtzz" type="text" class="bor int" id="ujtzz" size="45" value=""></dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin">紧急联系人</dd></li>
        <li class="w38"><dd class="isin">
          <input name="ujjlxr" type="text" class="bor int" id="ujjlxr" size="30" value=""></dd></li>
        <li class="w12 bg tr"><dd class="isin">紧急联系人电话</dd></li>
        <li class="w38"><dd class="isin">
          <input name="ujjlxrhm" type="text" class="bor int" id="ujjlxrhm" size="30" value=""></dd></li>
        <!--end--> 
        
        <!--line-->
        <li class="w12 bg cl tr"><dd class="isin">签名</dd></li>
        <li class="w38"><dd class="isin">
          <input name="sign" type="text" class="bor int" id="sign" size="45" value="我是超级管理员，系统相关问题联系我"></dd></li>
        
        <!--line-->
        <li class="w12 bg cl duohang tr"><dd class="isin">个人介绍</dd></li>
        <li class="w88 duohang"><dd class="isin">
          <textarea name="uinfo" rows="4" id="uinfo" style="width:98%;">个人介绍</textarea></dd>
        </li>
        <!--end--> 
        <!--line-->
        
        
        <li class="w12 bg cl tr"><dd class="isin">桌面便签</dd></li>
        <li class="w38"><dd class="isin">
        
          <label>
            <input class="btns" type="radio" name="desk_bianqian" value="1" checked title="显示">
          </label>
          <label>
            <input class="btns" type="radio" name="desk_bianqian" value="0"  title="不显示">
          </label>
        
        </dd></li>
        
        <li class="w12 bg tr"><dd class="isin">系统提醒</dd></li>
        <li class="w38"><dd class="isin">
        
          <label>
            <input class="btns" type="radio" name="desk_xitong" value="1" checked title="显示">
          </label>
          <label>
            <input class="btns" type="radio" name="desk_xitong" value="0"  title="不显示">
          </label>
          
        </li>
        
        <div class="clear"></div>  
      </ul>
    </div>
    <div class="h50b"></div>
    <div class="fixed_bg_B">
      <input name="uid" type="hidden" id="uid" value="1">
      <input type="submit" class="btn2 btnbaoc" name="Submit" value="保存修改">
      <input name="Back" type="button" id="Back" class="btn2 btnguanb" value="关闭" onClick="art.dialog.close();guanbi();">
    </div>
  </form>
</div>

<script src="theme/default/WdatePicker.js"></script> 
<script src="theme/layui/layui.js"></script> 
<script src="theme/desktop/js/common.js"></script>

<script>
/*弹出窗口封装代码*/
$(".open-app").on("click",function(){
	var width = $(this).data("width")?$(this).data("width"):900,//获得宽度
	height = $(this).data("height")?$(this).data("height"):400//获得高度
	url = $(this).attr("href")//获得打开URL
	title = $(this).attr("title");//获得标题	
	$.dialog.open(url, {title: title, width:width,height:height, fixed: true});
	return false;	
})
</script>

</body>
</html>
